import request from '@/utils/request'

// api地址
const api = {
  list: '/oms/yoshopOrderRefund/list',
  revoke:'/oms/yoshopOrderRefund/updateRefundDelRoCancel',
  detial:'/oms/yoshopOrderRefund/getDetailsByID'
}
// 获取详细信息
export const detial=(param)=> {
  return request.get(api.detial,param)
}
// 获取列表
export const list=(param)=> {
  return request.get(api.list,param)
}

// 撤销详情
export const revoke=(param)=> {
  return request.get(api.revoke,param)
}
